package com.ruoyi.mch.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.annotation.Excel;

/**
 * 红包对象 wx_red_envelope
 * 
 * @author ruoyi
 * @date 2021-06-11
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("wx_red_envelope")
public class WxRedEnvelope implements Serializable {

private static final long serialVersionUID=1L;


    /** 红包id */
    @TableId(value = "re_id")
    private String reId;

    /** 微信id */
    private String openId;

    /** 金额 */
    private BigDecimal amount;

    /** 创建时间 */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** 红包状态 */
    private Integer status;

    /** 商户id */
    private String mchId;

}
